package book;

public abstract  class User {
    protected  String name;
    protected  IOperation[] iOperations;//此时这个数组没有初始化
    public  User(String name){
        this.name =name;
    }
    public  abstract int menu();
    protected  void doOperation(int choice, BookList bookList){
        iOperations[choice].work(bookList);
    }
}
